package com.Shoping.entity.Integrate;

import com.Shoping.entity.Color;
import com.Shoping.entity.Commodity;

import java.util.List;

public class CommodityY {
    private Commodity commodity;
    private List<Color> colors;

    @Override
    public String toString() {
        return "CommodityY{" +
                "commodity=" + commodity +
                ", colors=" + colors +
                '}';
    }

    public Commodity getCommodity() {
        return commodity;
    }

    public void setCommodity(Commodity commodity) {
        this.commodity = commodity;
    }

    public List<Color> getColors() {
        return colors;
    }

    public void setColors(List<Color> colors) {
        this.colors = colors;
    }

    public CommodityY(Commodity commodity, List<Color> colors) {
        this.commodity = commodity;
        this.colors = colors;
    }

    public CommodityY() {
    }
}
